package cn.iocoder.yudao.module.shop.controller.admin.shopInfo.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 商户信息新增/修改 Request VO")
@Data
public class ShopInfoSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "商户编号")
    private String shopNo;

    @Schema(description = "品牌id", requiredMode = Schema.RequiredMode.REQUIRED, example = "3005")
    @NotNull(message = "品牌id不能为空")
    private Long brandId;

    @Schema(description = "店铺名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "店铺名称不能为空")
    private String shopName;

    @Schema(description = "店铺简介", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "店铺简介不能为空")
    private String shopAbstract;

    @Schema(description = "商户介绍")
    @ExcelProperty("商户介绍")
    private String introduction;

    @Schema(description = "店铺电话", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "店铺电话不能为空")
    private String mobile;

    @Schema(description = "店铺封面")
    private String coverKey;

    @Schema(description = "店铺轮播图【数组】")
    private List<String> picKeys;

    @Schema(description = "店铺营业周期")
    private String openRemarks;

    @Schema(description = "店铺经度", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "店铺经度不能为空")
    private String longitude;

    @Schema(description = "店铺维度", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "店铺维度不能为空")
    private String latitude;

    @Schema(description = "店铺详细地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "店铺详细地址不能为空")
    private String descAddress;

    @Schema(description = "店铺所在地-省")
    private String province;

    @Schema(description = "店铺所在地-市")
    private String city;

    @Schema(description = "店铺所在地-区")
    private String district;

    @Schema(description = "店铺所在地-省市区")
    private String address;

    @Schema(description = "定位的地址")
    private String referAddress;

    @Schema(description = "点赞数量", example = "13632")
    private Integer pickCount;

    @Schema(description = "评分数量", example = "16836")
    private Integer starCount;

    @Schema(description = "评分")
    private BigDecimal star;

    @Schema(description = "店铺状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "店铺状态不能为空")
    private String status;

    @Schema(description = "入驻时间")
    private LocalDateTime settleTime;

    @Schema(description = "过期时间")
    private LocalDateTime expireTime;

    @Schema(description = "是否为系统默认商户")
    private Boolean isDefault;

}